#include "stc12c5a60s2.h"
#include "intrins.h"

void DelayMs(unsigned int xms)		//@12.000MHz
{
	unsigned char i, j;
    while(xms--)
	{
		_nop_();
		_nop_();
		i = 12;
		j = 168;
		do
		{
			while (--j);
		} while (--i);	
	
	}

}
void DelayUs2x(unsigned int xus)		//@12.000MHz
{
	unsigned char i;
     while(xus--)
	 {
		i = 3;
    	while (--i); 
	 
	 }

}

